<?php /* Smarty version Smarty-3.1.13, created on 2013-07-09 04:41:28
         compiled from ".\templates\displayClient.tpl" */ ?>
<?php /*%%SmartyHeaderCode:253551db2391d715c8-62902209%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c2d99692e5248792245fe03c63f78836d2ba24db' => 
    array (
      0 => '.\\templates\\displayClient.tpl',
      1 => 1372068509,
      2 => 'file',
    ),
    '76b183ae9ab092866ef1aa82b739ad39fdc5fb7c' => 
    array (
      0 => 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\fin3\\templates\\link.tpl',
      1 => 1373336611,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '253551db2391d715c8-62902209',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51db2391eabf54_44778459',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51db2391eabf54_44778459')) {function content_51db2391eabf54_44778459($_smarty_tpl) {?><html>
	<head>
	  <link rel="stylesheet" href="css/style1.css">
	  <link rel="stylesheet" type="text/css" href="./css/main.css" />
    <link rel="stylesheet" type="text/css" href="./css/style.css" />
	</head>
	
<script src="js/jquery.min.js" ></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="media/js/jquery.js" type="text/javascript"></script>
<script src="media/js/jquery.dataTables.js" type="text/javascript"></script>
<style type="text/css">
  @import "media/css/demo_table_jui.css";
  @import "media/themes/smoothness/jquery-ui-1.8.4.custom.css";
</style>
<style>
  *{
     font-family: arial;
   }
</style>
<script type="text/javascript" charset="utf-8">
  $(document).ready(function(){
    $('#datatables').dataTable({
      "sPaginationType":"full_numbers",
      "aaSorting":[[2, "desc"]],
      "bJQueryUI":true
    });
  });
  function myFunction()
{
  if(confirm("You Want To Remove This Record")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}
</script>

	<body>
  	<ul class="menu">
	    <li><a href="#">Home</a></li>
	    <li><a href="index.php">Party Entry</a></li>
	    <li><a href="loan.php">Loan Entry</a></li>
	    <li><a href="loandetail.php">Loan Detail</a></li>
	    <li><a href="account.php">Account</a></li>
	    <li><a href="transaction.php">Transaction</a></li>
	    <li><a href="#">Display</a>
	      <ul>
	        <li><a href="displayClient.php">Parties</a></li>
	        <li><a href="displayLoan.php">Loans</a></li>
	        <li><a href="dispalyTransaction.php">Transactions</a></li>
	        <li><a href="loanreceived.php">LoanReceived</a></li>
	      </ul>
	    </li>
    </ul>
    
<br /><br /><br /><br /><br /><br /><br /><br />
<div>
  <center>
    <font color = "red"><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</font>
  </center>
</div>
<div>
  <table id="datatables" class="display">
    <thead>
      <tr>
        <th>party Name</th>
        <th>Address</th>
        <th>Phone1</th>
        <th>Phone2</th>
        <th>DocumentsId</th>
        <th>OtherInfo</th>
        <th>Delete</th>
      </tr>
    </thead>
    <tbody>
      <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['rec'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['name'] = 'rec';
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['parties']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['rec']['total']);
?> 
        <tr>
          <td><?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['partyName'];?>
</td>
          <td><?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['address'];?>
</td>
          <td><?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['phone1'];?>
</td>
          <td><?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['phone2'];?>
</td>
          <td><?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['documentsId'];?>
</td>
          <td><?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['otherInfo'];?>
</td>
          <td align="center"><a href="partyDelete.php?partyId=<?php echo $_smarty_tpl->tpl_vars['parties']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rec']['index']]['partyId'];?>
" onclick="return myFunction();" class="link"> <img src="./images/deleteIco.png"></a></td>
        </tr>
      <?php endfor; endif; ?>
    </tbody>
  </table>
</div>

	</body>
</html><?php }} ?>